package com.shop.domain;

import java.io.Serializable;

/**
 * 返回结果
 * @author 23973
 *
 */
public class Result implements Serializable {
	private boolean success;//是否成功
	private String message;//返回信息
	
	public Result() {
	}
	
	public Result(boolean success, String message) {
		super();
		this.success = success;
		this.message = message;
	}



	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Result(String message) {
		super();
		this.message = message;
	}
}
